#ifndef __APDUPROC_HANDLER_PRIVATE_H__
#define __APDUPROC_HANDLER_PRIVATE_H__

	#define CMD_PRIFAC_FORMAT					        0x00
	#define CMD_PRIFAC_GETFSMAXCAP				        0x02
	#define CMD_PRIFAC_GETRAWHWSN				        0x04
	#define CMD_PRIFAC_BACKTOBOOTLOADER			        0x06
	#define CMD_PRIFAC_GETDEVSTATUS				        0x08
	#define CMD_PRIFAC_READOEMINFO				        0x0A
	#define CMD_PRIFAC_WRITYEOEMINFO			        0x0C
	#define CMD_PRIFAC_MCOSLOCKED                       0x0E 
                               
	#define CMD_PRICRYPT_GENSESSIONKEY			        0x10
	#define CMD_PRICRYPT_SETSESSIONKEY			        0x12
	#define CMD_PRICRYPT_RSAPUBLIC				        0x14
	#define CMD_PRICRYPT_RSAPRIVATE				        0x16
	#define CMD_PRICRYPT_RSAENCRYPT				        0x18
	#define CMD_PRICRYPT_RSADECRYPT				        0x1A
	#define CMD_PRICRYPT_RSASIGNDATAEX		            0x1C
	#define CMD_PRICRYPT_RSAVERIFYEX			        0x1E
	                              
	#define CMD_PRICRYPT_IMPORTEXTRSAKEYPAIR	        0x20	
	#define CMD_PRICRYPT_DELETEKEYPAIR			        0x22
	#define CMD_PRICRYPT_DELETECERTIFICATE		        0x24
	#define CMD_PRICRYPT_GENRSAKEYPAIREX		        0x26
	#define CMD_PRICRYPT_SM2DECRYPT		                0x28
	#define CMD_PRICRYPT_ECCSIGNDATAEX		            0x2A
	#define CMD_PRICRYPT_IMPORTEXTECCKEYPAIR	        0x2C
        	                      
	#define CMD_PRIAUTH_RELOADPIN				        0x34
	#define CMD_PRIAUTH_CHANGEDEVAUTHKEYEX		        0x36
		                             
	#define CMD_PRIPERIPHERAL_SYSTEMLEDCONTROL	        0x40
                               
	#define CMD_PRIFILE_SETFILEINFO		                0x50
	#define CMD_PRIFILE_SETMFSCURSOR		            0x52     	
	#define CMD_PRIFILE_CRYPTREADFILE		            0x54 
	#define CMD_PRIFILE_CRYPTWRITEFILE		            0x56 
                                   
	#define CMD_PRIAPP_GETAPPEXTENDEDINFO		        0x60
                               
	#define CMD_PRICON_SETCONEXTENDEDINFO		        0x70 
	#define CMD_PRICON_GETCONEXTENDEDINFO		        0x72
 	#define CMD_PRICON_GETCONNAME		        		0x74
	   
	#define CMD_PRICRYPT_GENASTMKEYPAIR2CONTEXT	        0x80	
	#define CMD_PRICRYPT_EXPORTPUBKEYINCONTEXT          0x82
	#define CMD_PRICRYPT_IMPORTEXTKEYPAIR2CONTEXT		0x84
	#define CMD_PRICRYPT_RSACIPHERBYCONTEXT		        0x86
	#define CMD_PRICRYPT_SM2CIPHERBYCONTEXT	            0x88
    
    #define CMD_PRICRYPT_DIGESTFILEUPDATE               0x90 

    #define CMD_PRICRYPT_RSASIGNDATAINTERACTIVE         0xA0
    #define CMD_PRICRYPT_ECCSIGNDATAINTERACTIVE         0xA2
	 	
	
	extern void ApduProc_Handler_Private(UINT8 Ins);

#endif
